package com.itranlin.hexagon.core.impl;

import com.itranlin.hexagon.core.HexagonPluginManagerCallback;
import com.itranlin.hexagon.core.Plugin;
import net.dreamlu.mica.auto.annotation.AutoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 插件回调的默认实现
 */
@AutoService(HexagonPluginManagerCallback.class)
@SuppressWarnings("unused")
public class HexagonPluginManagerCallbackDefaultImpl implements HexagonPluginManagerCallback {

    private final static Logger log = LoggerFactory.getLogger(HexagonPluginManagerCallbackDefaultImpl.class);

    @Override
    public void parseCallback(Plugin meta) {
        log.debug("插件解析完成：{}", meta);
    }

    @Override
    public void installCallback(Plugin meta) {
        log.debug("插件安装完成：{}", meta);
    }

    @Override
    public void uninstallCallback(Plugin meta) {
        log.debug("插件卸载完成：{}", meta);
    }
}
